<td width="727"><table width="727" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td width="727" height="47" valign="top" background="img/bar_blue.jpg"><table width="727" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td width="10" height="47">&nbsp;</td>
                                        <td width="23" height="47"><img src="img/bar_flblue.jpg" width="23" height="23"></td>
                                        <td width="10" height="47">&nbsp;</td>
                                        <td height="47" class="tahoma12W"><strong> 
                                          <?php echo $lang['CONTENT_TITLE_PRODUCT']; ?></strong></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <tr> 
                                  <td width="727" height="6" valign="top"><img src="img/spec_blank.gif" width="10" height="7"></td>
                                </tr>
                                <tr> 
                                  <td width="727" height="878" valign="top"  ><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td  valign="top" >
											<table width="100%" height="878" border="0" cellpadding="0" cellspacing="0">
                                            <tr> 
                                              <td  valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr> 
                                                    <td width="10" height="10"></td>
                                                    <td height="10"></td>
                                                    <td width="10" height="10"></td>
                                                  </tr>
                                                  <tr> 
                                                    <td width="10">&nbsp;</td>
                                                    <td align="left" valign="top" class="arial12G66">
													
													
														<?php
											            $itemID = intval(mysql_real_escape_string($_GET['id']));
														$Qitem = "SELECT * from item where id='$itemID'";
														$Citem= $db->sql_total($Qitem);
														$i = $db->sql_list($Qitem);
														if($Citem <> 0){
															?>
															<table width="100%" border="0" cellspacing="0" cellpadding="0">
																<tr> 
						                                              <td>   
																			
																				<table width="100%" border="0" cellspacing="0" cellpadding="0">
								                                                    <tr> 
								                                                      <td width="10" height="10"></td>
								                                                      <td height="10"></td>
								                                                      <td width="10" height="10"></td>
								                                                    </tr>
								                                                    <tr> 
								                                                      <td width="10">&nbsp;</td>
								                                                      <td align="left" valign="top">
																							<table width="100%" border="0" cellspacing="0" cellpadding="0">
																								<tr> 
																									<td> 
																										<div id="productsimg"> 
																											<img src="<?php echo IMAGEITEM.$i['image']; ?>" name="productimg" width="174" height="136" id="productimg" >
																										</div>
																									</td>
																									<td width="10">&nbsp;</td>
																									<td valign="top" width="500">
																										<table width="500" border="0" cellspacing="0" cellpadding="0">
											                                                                <tr> 
																												<td class="arial11P"><strong><?php echo $i['name']; ?></strong></td>
											                                                                </tr>
											                                                                <tr> 
																												<td height="6" valign="top"><img src="img/spec_blank.gif" width="10" height="6"></td>
											                                                                </tr>
											                                                                <tr> 
																												<td class="arial10G660">KOD 
																													<?php echo $i['kod']; ?></td>
											                                                                </tr>
											                                                                <tr> 
																												<td height="6" valign="top"><img src="img/spec_blank.gif" width="10" height="6"></td>
											                                                                </tr>
											                                                                <tr> 
																												<td class="arial11G">
																													<?php if($i['rate']==1){echo "<img src='img/spec_rating_1.jpg' width='69' height='14'>";}
																														  else if($i['rate']==2){echo "<img src='img/spec_rating_2.jpg' width='69' height='14'>";}
																														  else if($i['rate']==3){echo "<img src='img/spec_rating_3.jpg' width='69' height='14'>";}
																														  else if($i['rate']==4){echo "<img src='img/spec_rating_4.jpg' width='69' height='14'>";}
																														  else if($i['rate']==5){echo "<img src='img/spec_rating_5.jpg' width='69' height='14'>";}
																														  else{echo "<img src='img/spec_rating_1.jpg' width='69' height='14'>";}
																														  
																														  
																														  
																														  ?>
																												</td>
																											</tr>
																											<tr> 
																												<td height="10" valign="top"><img src="img/spec_blank.gif" width="10" height="10"></td>
																											</tr>
																											<tr> 
																												<td class="arial13CK">RP(WM) 
												                                                                    <strong>RM <?php if($_SESSION['isAhli'] == 'yes' ){ echo sprintf("%01.2f",$i['price_wm_ahli']); }else{ echo sprintf("%01.2f",$i['price_wm']); } ?></strong><br>
												                                                                    RP(EM) <strong>RM <?php if($_SESSION['isAhli'] == 'yes' ){ echo sprintf("%01.2f",$i['price_em_ahli']); }else{ echo sprintf("%01.2f",$i['price_em']); } ?></strong>
																												</td>
																											</tr>
											                                                                <tr> 
											                                                                  <td height="10" valign="top"><img src="img/spec_blank.gif" width="10" height="10"></td>
											                                                                </tr>
																											<tr> 
																												<td>
																													<table width="100%" border="0" cellspacing="0" cellpadding="0">
																														<tr> 
																															<td width="65"><a href="product_detail.php?action=add&id=<?php echo $i['id'] ?>"><img src="img/btn_cart.jpg" width="64" height="20" border="0"></a></td>
																															<td width="6">&nbsp;</td>
																														</tr>
																													</table>
																												</td>
																											</tr>
																										</table>
																									</td>
																								</tr>
																								<tr>
																									<td colspan="3" class="arial11G"><p><br/></p><?php echo $i['content'] ?>
																										<br/>
																										<?php  if($i['bigimage'] != null && strlen($i[bigimage]) > 0) { ?>
																											<div id="productsbigimg"> 
																												<img src="<?php echo IMAGEITEMBIG.$i['bigimage']; ?>" name="productimg" width="665" height="375" style="width:665px; height:375px;" id="productbigimg" >
																											</div>
																										<?php  } ?>
																										<br/>
																										<br/>
																									</td>
																								</tr>
									                                                        </table>
																						</td>
																						<td width="10">&nbsp;</td>
								                                                    </tr>		
								                                                    <tr> 
								                                                      <td width="10" height="10"></td>
								                                                      <td height="10"></td>
								                                                      <td width="10" height="10"></td>
								                                                    </tr>
							                                                    </table>
																			
																		</td>
						                                            </tr>
						                                            <tr> 
						                                              <td height="7" valign="top"><img src="img/spec_blank.gif" width="10" height="7"></td>
						                                            </tr>	
														</table>	
														<?php
														
														}
													?>
													
													
													
                                                    </td>
                                                    <td width="10">&nbsp;</td>
                                                  </tr>
                                                  <tr> 
												  
                                                    <td width="10" height="10"></td>
                                                    <td height="10"></td>
                                                    <td width="10" height="10"></td>
                                                  </tr>
                                                </table></td>
												
                                            </tr>
                                          </table></td>
                                      </tr>
                                    </table></td>
                                </tr>
                              </table>